import Vue from 'vue'
//导入element组件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import router from './router'
import store from './store';

import {postRequest, postKeyValueRequest, getRequest, putRequest, deleteRequest} from "./utils/api"

Vue.prototype.postRequest=postRequest
Vue.prototype.postKeyValueRequest=postKeyValueRequest
Vue.prototype.getRequest=getRequest
Vue.prototype.putRequest=putRequest
Vue.prototype.deleteRequest=deleteRequest

Vue.config.productionTip = false

//使用
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
